package cn.fz.factory;

// 日志管理器，使用工厂类来创建日志记录器
public class LoggerManager {
    private final Logger logger;

    public LoggerManager(LoggerFactory loggerFactory) {
        logger = loggerFactory.createLogger();
    }

    public void log(String message){
        logger.log(message);
    }
}
